package cn.cloudplug.heweather;

import com.sun.istack.internal.NotNull;

import java.util.LinkedHashMap;

/**
 * https://console.heweather.com
 * 帐户名：1224930212.qq.com
 * 密码：a2081081
 * 认证key：3693fa2654f541469b62eaa9ee29ff7c
 * 天气状况代码和图标 https://www.heweather.com/documents/condition
 */
public class HeWeather {
    private static final String API  = "https://free-api.heweather.com/s6/weather";
    public static LinkedHashMap<String, Object> getLiveWeatherParams(@NotNull String key,@NotNull String location){
        LinkedHashMap<String, Object> params = new LinkedHashMap<>();
        params.put("key",key);
        params.put("location",location);
        return params;
    }
}